package no.nordicsemi.android.dfuupdate.bean;

public class ServerInfo {

    /**
     * stat : SUCCESS
     * seting : {"id":1,"sleepTime":7,"delayUpdateTime":9,"isDelay":0,"reconnectionTime":10,"anchorAddress":"10.44.66.200:6555","serverAddress":"10.44.66.201:8099"}
     */

    private String stat;
    private SetingBean seting;

    public String getStat() {
        return stat;
    }

    public void setStat(String stat) {
        this.stat = stat;
    }

    public SetingBean getSeting() {
        return seting;
    }

    public void setSeting(SetingBean seting) {
        this.seting = seting;
    }

    public static class SetingBean {
        /**
         * id : 1
         * sleepTime : 7
         * delayUpdateTime : 9
         * isDelay : 0
         * reconnectionTime : 10
         * anchorAddress : 10.44.66.200:6555
         * serverAddress : 10.44.66.201:8099
         */

        private int id;
        private int sleepTime;
        private int delayUpdateTime;
        private int isDelay;
        private int reconnectionTime;
        private String anchorAddress;
        private String serverAddress;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSleepTime() {
            return sleepTime;
        }

        public void setSleepTime(int sleepTime) {
            this.sleepTime = sleepTime;
        }

        public int getDelayUpdateTime() {
            return delayUpdateTime;
        }

        public void setDelayUpdateTime(int delayUpdateTime) {
            this.delayUpdateTime = delayUpdateTime;
        }

        public int getIsDelay() {
            return isDelay;
        }

        public void setIsDelay(int isDelay) {
            this.isDelay = isDelay;
        }

        public int getReconnectionTime() {
            return reconnectionTime;
        }

        public void setReconnectionTime(int reconnectionTime) {
            this.reconnectionTime = reconnectionTime;
        }

        public String getAnchorAddress() {
            return anchorAddress;
        }

        public void setAnchorAddress(String anchorAddress) {
            this.anchorAddress = anchorAddress;
        }

        public String getServerAddress() {
            return serverAddress;
        }

        public void setServerAddress(String serverAddress) {
            this.serverAddress = serverAddress;
        }
    }
}
